package com.example.sunmiv1.entity;

import java.util.ArrayList;
import java.util.List;

public class StatisticsVipBean {

    /**
     * status : 1
     * data : {"total":"4","list":[{"id":"341","name":"1","nickname":null,"mobile_phone":"18546546465","plus_type":"3","grade_integral":"0","vip_type":"常規會員","vip_lv":"無等級","expense_last":"1970-01-01 08:00:00"},{"id":"342","name":"2","nickname":null,"mobile_phone":"13512121212","plus_type":"2","grade_integral":"0","vip_type":"Plus 會員","vip_lv":"-"},{"id":"345","name":"5","nickname":null,"mobile_phone":"18544141414","plus_type":"3","grade_integral":"23","vip_type":"常規會員","vip_lv":"無等級","expense_last":"2020-05-07 18:05:05"}]}
     * msg : 數據獲取成功!
     */

    private int status;
    private DataBean data;
    private String msg;

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public String getMsg() {
        return msg == null ? "" : msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public static class DataBean {
        /**
         * total : 4
         * list : [{"id":"341","name":"1","nickname":null,"mobile_phone":"18546546465","plus_type":"3","grade_integral":"0","vip_type":"常規會員","vip_lv":"無等級","expense_last":"1970-01-01 08:00:00"},{"id":"342","name":"2","nickname":null,"mobile_phone":"13512121212","plus_type":"2","grade_integral":"0","vip_type":"Plus 會員","vip_lv":"-"},{"id":"345","name":"5","nickname":null,"mobile_phone":"18544141414","plus_type":"3","grade_integral":"23","vip_type":"常規會員","vip_lv":"無等級","expense_last":"2020-05-07 18:05:05"}]
         */

        private String total;
        private List<ListBean> list;

        public String getTotal() {
            return total == null ? "" : total;
        }

        public void setTotal(String total) {
            this.total = total;
        }

        public List<ListBean> getList() {
            if (list == null) {
                return new ArrayList<>();
            }
            return list;
        }

        public void setList(List<ListBean> list) {
            this.list = list;
        }

        public static class ListBean {
            /**
             * id : 341
             * name : 1
             * nickname : null
             * mobile_phone : 18546546465
             * plus_type : 3
             * grade_integral : 0
             * vip_type : 常規會員
             * vip_lv : 無等級
             * expense_last : 1970-01-01 08:00:00
             */

            private String id;
            private String name;
            private String nickname;
            private String mobile_phone;
            private String plus_type;
            private String grade_integral;
            private String vip_type;
            private String vip_lv;
            private String expense_last;
            private String headimgurl;

            public String getHeadimgurl() {
                return headimgurl == null ? "" : headimgurl;
            }

            public void setHeadimgurl(String headimgurl) {
                this.headimgurl = headimgurl;
            }

            public String getId() {
                return id == null ? "" : id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getName() {
                return name == null ? "" : name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public String getNickname() {
                return nickname == null ? "" : nickname;
            }

            public void setNickname(String nickname) {
                this.nickname = nickname;
            }

            public String getMobile_phone() {
                return mobile_phone == null ? "" : mobile_phone;
            }

            public void setMobile_phone(String mobile_phone) {
                this.mobile_phone = mobile_phone;
            }

            public String getPlus_type() {
                return plus_type == null ? "" : plus_type;
            }

            public void setPlus_type(String plus_type) {
                this.plus_type = plus_type;
            }

            public String getGrade_integral() {
                return grade_integral == null ? "" : grade_integral;
            }

            public void setGrade_integral(String grade_integral) {
                this.grade_integral = grade_integral;
            }

            public String getVip_type() {
                return vip_type == null ? "" : vip_type;
            }

            public void setVip_type(String vip_type) {
                this.vip_type = vip_type;
            }

            public String getVip_lv() {
                return vip_lv == null ? "" : vip_lv;
            }

            public void setVip_lv(String vip_lv) {
                this.vip_lv = vip_lv;
            }

            public String getExpense_last() {
                return expense_last == null ? "" : expense_last;
            }

            public void setExpense_last(String expense_last) {
                this.expense_last = expense_last;
            }
        }
    }
}
